package com.wd.common.bean

import java.io.Serializable

/**
 * 作者：马海钊
 * 时间：2023/9/11 14:19
 * 功能：买车bean类
 */
class BuyCarBean {
    //新车·查询品牌列表
    data class BuyCarListBean(
        val message: String,
        val result: List<Result>,
        val status: String
    ) {
        data class Result(
            val brandList: List<Brand>,
            val node: String
        ) {
            data class Brand(
                val brandId: Int,
                val imageUrl: String,
                val name: String
            )
        }
    }

    //二手车·列表
    data class BuyOldCarListBean(
        val message: String,
        val result: List<Result>,
        val status: String
    ) {
        data class Result(
            val bgImageUrl: String,
            val carId: Int,
            val carStyleName: String,
            val collectStatus: Int,
            val sellingPrice: Double,
            val traveledDistance: Double,
            val upPlateNumberTime: Long
        )
    }

    //买车·新车·选择车系二级列表
    data class BuyNewCar_ChooseList(
        val message: String,
        val result: List<Result>,
        val status: String
    ) {
        data class Result(
            val bgImageUrl: String,
            val carLabels: List<String>,
            val categoryId: Int,
            val highBid: Double,
            val lowBid: Double,
            val name: String
        )
    }

    //买车·新车·车系详情
    data class BuyNewCar_CarDetails(
        val message: String,
        val result: Result,
        val status: String
    ) {
        data class Result(
            val bgImageUrl: String,
            val carFriendShareNum: Int,
            val carLabels: List<String>,
            val carModelUrl: String,
            val carVrUrl: String,
            val categoryId: Int,
            val dealerReferenceBid: Double,
            val energyType: Int,
            val highBid: Double,
            val lowBid: Double,
            val lowestClosingCost: String,
            val maintainCost: Double,
            val name: String,
            val secondCarBid: Double
        )
    }

    //二手车搜索
    data class Buy_OldCar_clooselist(
        val message: String,
        val result: List<Result>,
        val status: String
    ) {
        data class Result(
            val bgImageUrl: String,
            val carId: Int,
            val carStyleName: String,
            val collectStatus: Int,
            val sellingPrice: Double,
            val traveledDistance: Double,
            val upPlateNumberTime: Long
        )
    }
    //车辆外观，内饰

    data class Buy_NewCar_waineiBean(
        val message: String,
        val result: List<String>,
        val status: String
    )

    //新车·销量榜
    data class Buy_newcar_XiaoliangBean(
        val message: String,
        val result: List<Result>,
        val status: String
    ) {
        data class Result(
            val carModelUrl: String,
            val carName: String,
            val categoryId: Int,
            val highBid: Double,
            val lowBid: Double,
            val reason: String
        )
    }

    //买车·二手车·详情
    data class Buy_oldcar_detailsBean(
        val message: String,
        val result: Result,
        val status: String
    ) {
        data class Result(
            val annualInspectionExpirationTime: Long,
            val bgImageUrl: String,
            val carColour: String,
            val carDescribe: String,
            val carId: Int,
            val carLabels: List<String>,
            val carLocation: String,
            val carStyleName: String,
            val collectStatus: Int,
            val displacement: Double,
            val emissionStandard: String,
            val guidePrice: Double,
            val insuranceExpirationTime: Long,
            val sellingPrice: Double,
            val speedChangingBox: String,
            val transferOwnershipNum: Int,
            val traveledDistance: Double,
            val upPlateNumberAddress: String,
            val upPlateNumberTime: Long
        )
    }

    //买车·二手车·详情·实拍图片
    data class Buy_oldcar_details_imgBean(
        val message: String,
        val result: List<String>,
        val status: String
    )

    //买车·二手车·收藏
    data class BuyOldCarShouCangBean(
        val message: String,
        val status: String
    )

    //买车·二手车·取消收藏
    data class BuyOldCarDeteleShouCangBean(
        val message: String,
        val status: String
    )

    //我的·查询收藏列表
    data class QueryBuyOldCarShouCangListBean(
        val message: String,
        val result: List<Result>,
        val status: String
    ) {
        data class Result(
            val bgImageUrl: String,
            val carId: Int,
            val carStyleName: String,
            val collectStatus: Int,
            val sellingPrice: Double,
            val traveledDistance: Double,
            val upPlateNumberTime: Long
        )
    }

    //买车·二手车·询价
    data class BuyOldCarInquiryBean(
        val message: String,
        val status: String
    )
    //买车·二手车·询价·自建类
    data class RequestData(
        val carId: Int,
        val name: String,
        val phone: String,
        val city: String
    )
}